Each species of fish has evolved to function in a very specific environment. Environment here includes water parameters (GH, pH, temperature), water flow, decor replicating the habitat, numbers of the species, light, and other fish (temperament, compatibility). To keep the fish in good health and free of more stress, you must provide what it requires and expects. These factors are in the fish's genes, they do not change except over thousands of years.
The fact that individuals may provide an environment that is different does not mean the fish is OK. Fish have as their primary goal reproduction to maintain the species, that is how evolution operates. The fish may swim, eat and even spawn but that does not mean it is doing well. Surviving an inappropriate environment that we force upon it is not the same as thriving as nature intends. And it is inhumane to the poor fish.