Whether it can be used like an more FP-style Python/Ruby is one thing but whether it can replace Rails is a whole other question. This website is dedicated to answering that:
https://www.arewewebyet.org
(although looking at it again most of the content links are a bit old, but the library stuff seems current)