Writing a comment, the consequences
Yes you made the right decision of submitting a comment to the paper. Publicly commenting papers happens much too rarely, for reasons that may be at least partly technical. (Compare publishing your comment to writing here at StackExchange in terms of time and effort.)

As for future consequences, nobody knows. But if your comment is good, journals editors could get the idea of soliciting you for reviewing papers.