is it possible to spawn xp orbs directly from the loot_table?

per the title, I want to simply add xp to the mob's loot_table, I don't even need a range, special conditions, nothing, just spawn 1 or 2 xp points when a mob is killed, and I'd like to do that through a simple .json rather than all the functions sorry, I've searched what I could, but found only NBTs, functions, etc Would it instead be possible to spawn xp orbs in a roll? I'd very much prefer to keep the loot in a single place rather than in number of places, even more so since advancements in my project are a thing of their own and are one time things, resetting advancements feels weird and unintuitive

Continue to help post