Is it possible to make an online multiplayer 2D game in unity using only the unity UI components

I am currently making an online board game in unity and I have made everything consisting entirely of unity UI components, I do not use any 2D gameobjects, I just loaded the sprites onto the unity image components and use buttons to make each grid of the board so the only thing there is in my scene is 2 player canvases.
I would want to know if it is possible to make my game into an online multiplayer game where the canvases can be synced as a single board so that what the one player selects on their canvas will also be displayed on the other player’s canvas, so that the whole game is played using unity UI components

yes you sure can.