Thank you, now I understand why whereis won't work as it won't apply to flatpaks.
Overall, what I got from this is that, technically, users could change installation and configuration directories of software, but it is just not worth it, since what we have currently just works?