You can, if the massage mat has an auto shut-off feature. With the automatic shut-off feature, you can set the massager to work for a limited amount of time and automatically shut off when the time has elapsed, so you can peacefully fall asleep. Many massage mats have these features, but not all of them allow for customization.