I’ve had this research paper on my reading list for a while (but haven’t gotten to reading the full thing)[1]. Not necessarily just a file system but It lays out an entire operating system backed by a database and OS state interactions are done through SQL.
1. https://vldb.org/pvldb/vol15/p21-skiadopoulos.pdf