you can boot temporarily into twrp (not flashing it onto the boot partition) - and decrypt from there on an unlocked phone.
The threads where users on locked phones freed up disk space happened “blind” by looking at file-group attribution for its type - Fairphone shuts down after entering pin and goes into recovery mode - #7 by tcecyk