You could do a rebuild on it easy enough not too much to be spent on materials, however you will pay a fair whack for labour and visa versa not too much labour to drop a replacement engine in but unless you know a good scrappy you might pay a fair bit for the lump.
I would sugest looking around for a new car to be honest, on a 14 year old car, I wouldn't think it is worth it really.