Never tried it, but it seems possible.

https://dev.mysql.com/doc/refman/8.0...xt-search.html
https://www.mysqltutorial.org/mysql-...t-search.aspx/