Yep the creator of the game Richard Garfield, made it as a game that could easily be played during "down time" at gaming conventions BUT could be carried in your pocket.
Gaming conventions at the time were basically RPG gamers and of course the majority of those were D&D players.
D&D players were the first large group of converts to Magic.
Magic was an attempt to institute a deck of cards into the RPG Community.