It should be fine temperature wise! But u might wanna just try out first, to check if u have high lipase.
I used to do that with my milk. Turns out, I got high lipase, and baby refuse to drink my frozen bm. Now it’s either I fridge it, or freeze immediately after pump.