Is this ok?

Yes, you can do a maximum of six hours work between breaks. And time on POA, or any break time that isn’t long enough to count as a break, isn’t working time so “stops the clock”.