For a professional product definitely, no question.
For a personal hobby project it's more of a 'try it and see', it's more likely to work than it is to fail
I don't see much difference between a hobbyist or professional approach.
In both worlds, projects can be designed by "do random things randomly, and see if it works by luck" approach, and often are! Not saying this is fundamentally
wrong.
Often, it's a combination of extending your knowledge as far as possible, then resorting to doing random things when you can't get any further.
But, capacitor types are one of the difficult areas where blind replacements are
quite likely to fail. It doesn't matter whether it's professional of hobbyist; the laws of physics and component properties are the same.
For example, a converter designed to accept DC input up to 24V, and using ICs/semiconductors rated to, say, 30-35V,
will die once you replace the electrolytic input caps with ceramics, as the circuit will now see at least 48V input peak in a hotplug situation, almost 100% guaranteed failure.