Geoff
I can only speak with some knowledge of civilian aircraft but I expect military ethos is the same.
With just a part number you wouldn’t be able to link it to a specific engine.
But if the item has been given a serial number, possibly engraved on the item, then you might have a very slim chance of linking it to an engine and then to the aircraft that engine was fitted to during its operational life. Airframe and engine maintenance records have it all recorded.
A serialised component would have its own record file from new but not necessarily stating where it had been fitted, just any work done to it.
Richard