At a recent Super Mario Maker 2 press event, a Nintendo representative confirmed that online play for the game is only limited to random people and you will not be able to play online with your friends.
The reason you can’t play with your friends is because the leader boards for competitive match making would be affected if you play with your friends online.
Check out this video from Nintendo World Report TV about this below:
What do you think? Let us know in the comments.