You can cultivate good taste by intentionally taking in a lot of information about what's in the field, and what you like and what you don't like about it. This could be commenting on elements of film, fashion, photography, but it can also be having a sense of what you like to see stylistically in a contract, in a framework, or in corporate culture.
I recall reading an interview about a legendary developer, and the majority of the interview was not focused on his coding decisions or the structures he built, but it was about a notebook that he kept with voluminous notes about what was good and what wasn't. That notebook is a materialized version of 'taste', and it's certainly something almost anyone could put together with enough effort and time.