Interesting.
So when cold it runs fine due to the enrichment of the air:fuel mixture. Partly blocked fuel injectors may be?
Or deteriorating ignition components performing poorly when hot?
This one is going to be interesting to resolve.
Is the misfire regular or irregular?