What's the legality of utilizing guild spells via us being a member of a guild within Guildmasters' Guide to Ravnica?

And if its legal, would we be able to access guild spells as well as Spells of the Mark via Rising from the Last War?