I was looking at the wiki and it looks like via Javascript it is perhaps possible to do things other than the frequently used ones.
What I wanted to know is if its possible to allow it to check if a player has an advancement, for advancement based quest systems.
If it is possible, would it be something like, player.hasAdvancement('minecraft:story/mine_stone') ?