Yes, the sentence is grammatically correct.
The phrase "We are here for it" means that the speaker and perhaps a group they are referring to are supportive or enthusiastic about a particular situation or event. It can also express readiness to engage with whatever is happening. The second part, "I’m glad I made you smile," indicates that the speaker is pleased to have brought joy or happiness to someone else.
Here are a couple of rephrased