Truth, beauty, and goodness are, at the most fundamental level, the same thing. There is nothing wrong with being drawn to some good by an aesthetic sense, for aesthetics are a clue to the truth and goodness of a thing.
Someone who is drawn to religion because it's "cool" will, if he or she is genuinely seeking, come to engage with it on a deeper level in time.