Oh yea.
It could be holding the valves open when warmed up if they are tight.
When it's cool enough to do a comp test they are closing all the way again so the comp reads fine.
Totally possible.
If this is the cause it probably just needs the valves adjusted.