The game must be able to run on the GB and/or GBC. If it does, it’ll also run on a GBA, but in the GBC compatibility mode.
Rule 17 explicitly allows this:
Examples of things that are allowed: […] A remake of your (or someone else’s) game for a different platform, but with new code and assets.
Examples of things that are allowed:
So don’t worry, yep, you can ^^