Yes, both trembling and a rapid heartbeat can be indicative of pain.
We've got two, today, doing the same thing--Cass and Grace. Grace ate something that made her sick and has a tummy ache and Cass has a sore left arm--both of them were trembling earlier and didn't want to go out...