No. Your database is one giant shared mutable state.
How is using a database safe then? Transactions.
Haskell has had software transactional memory for fifteen years now. Microsoft tried to copy it in .NET but it's nearly impossible to do right in a language without clear separation of pure and impure code.