Immutable distros aren’t immutable in the home folder though, they would be unusable otherwise, so that doesn’t solve OPs problem of dotfiles/personal files (I know nixOS tries to get rid of dotfiles, but in my experience that almost never works, it’s only helpful for replacing config files in /etc)
This would likely only hurt the end user. Many use chromium-based browsers, so you’re just driving those away.
You can detect Firefox, so you can do a superficial block in JS, but lemmy is such a simple site that you’d find it hard to find areas where there’s actual differences between the browsers, those usually only come from complex pages like video calling