Can I become a GM or an IM?

Anyone can hope.
You can always hope.

If you commit your life to the game, probably. If you have a life (advisable) then you could probably get NM

Ye Jiangchuan from China started chess at 17 (in 1977) and became a grandmaster in 1993 at the age of 33. He likely would have gotten the title much sooner if he lived in Europe or the U.S.
I'm sure there are lots of others. Achievement in chess is based more on the effort you put into the game than some kind of freakish talent for the game, whatever that might mean. Having a goal of being a GM is not unrealistic for someone your age, and who already has demonstrated an aptitude for the game.

Jeremy Silman wrote an article for chess.com on this topic many years ago. Gregory Serper did a follow up several years later. I will save you the time of reading both: if you are asking the question, the answer is no.

How would Silman know?
The point made by both is if you start off with the goal to be among the world's best, you will more than likely give up well before you ever get there. The people who earned the IM and GM titles did so as a byproduct of their goal to improve at Chess, not as the goal itself (at least not until they were already very close to it).
Put another way, if you try out for your junior high track team and run a 15s 100m dash at 13, and then set your goal on winning an Olympic medal, you are likely to never get remotely close. Your goal is too lofty, too far away, and not enjoyable for many years. The people who actually do win Olympic medals do so because they loved the improvement process (and won medals as a byproduct of that).



It does make some assumptions, but it is also born from experience. In Silman's article (which you can find here: https://www.chess.com/article/view/can-anyone-be-an-im-or-gm ), he explains it. Of course, the actual answer is "of course, it is possible"; however, there is a "but". And when you see the same question, repeatedly, it makes sense to stop trying to give people the "hopeful" answer and instead give them the realistic one: if you are asking "can I become a IM/GM?" when you are just starting off, the odds are against you. In fact, they are so against you that if you had put $100 down with 100:1 odds for every person that wrote Silman/Serper/Martin those same questions on just this site over the last 15 years, you would be a multimillionaire with almost a 100% win rate!