If a sick person cannot bow or prostrate, it is highly disliked (Makruh) to raise a pillow to their forehead to prostrate upon.

The Sick Person's Prayer (صلاة المريض)