Much, if not all, you describe, could be on the basis of sleep
apnea, resulting in chronic sleep
deprivation. It is possible that you could have some type of recurrent abnormal heart rhythm as a primary event but the palpitation could just as easily be due to sleep apnea. Such sleep disturbances can also have a significant effect on one's emotional state, leading to anxiety, panic attacks, depression, confusion and even hallucinations.