Yes, both sentences are correct, but there's a slight difference in tone:
1. "I no longer love him" sounds more formal and direct.
2. "I don't love him anymore" is more casual and commonly used in conversation.
They both express the same idea, so they can often be replaced with each other, but "no longer" tends to sound more serious or definitive.