Contrary to earlier announcements from Nintendo that online multiplayer in the upcoming Super Mario Maker 2 would be limited to random matchmaking, Takashi Tezuka, the producer of the game has stated during a Nintendo Treehouse talk that playing with friends will indeed be an option.
Mr Tezuka confirmed that the ability to play with friends and not just random players will be coming in the form of a future update to the game.