Sure you can attempt a rewrite! But you must make sure that you know what are getting into. It is not an easy thing to do, but once the rewrite is done your live gets way better :)
NB I've only had one project go badly wrong that way and I guess it was a useful learning experience :-)