Not sure how Amitriptyline works, but if it suppresses REM, then you should be able to time it to give you a REM rebound. The mind needs REM sleep, so you are still having it somewhere. Taking it before bed should allow you to have a deep dreamless sleep until early hours and then have long REM rebounds. That's they way that most downers work.