It's possible, but it has side-effects you might not like:
drop database ;
It means the tables' structures are deleted, as well as the indexes, stored procedures, etc., etc.
The only other way would be to write a stored procedure which loops somehow with
truncate table ;