Absolutely! Even if they require (like with bootloader unlock) adb and screen unlock for access.

That'd still allow you to free your data.

Ideally though the native filemanager should just have a sudo mode that can be entered to access everything, if desired.