This is one of the reasons I like Flatpak, it can force misbehaving apps to not pollute my home folder with their hidden .folders that never get cleaned up on removal and instead go in a managed directory where it belongs.
Unfortunately, conventions and suggestions only sometimes work in software development. There will always be developers who ignore or actively fight the conventions because it's important to them to do everything their way. This is usually the reason behind why we still have Windows applications trying to install themselves under the root C:\ directory and macOS applications that ship with an unnecessary installer rather than using the conventional "drag the app into the Applications folder."