Is there any way that I can connect to the database from my html file in Web Dev module?

From what I know about web dev module, it doesn’t support php files so is there any way that I can connect to database using web dev module.

Webdev Python endpoints have full access to all gateway-scoped scripting methods - so system.db.runNamedQuery, system.db.runPrepQuery, etc.