This would not be possible without some development.
https://moodle.org/plugins/filter_embedquestion does something similar inside Moodle, and you could start from that code.
This would not be possible without some development.
https://moodle.org/plugins/filter_embedquestion does something similar inside Moodle, and you could start from that code.