AVR and STM32 ARM GPIOs state when IC is unpowered
No, in general you can not assume anything about GPIO pins of an unpowered chip, unless this is explicitly stated in the datasheet.

What will likely happen is that the protection diodes in the chip will try to power the 'unpowered' chip from any pin that is high.