Create Keyboard Shortcut for a Series of Keyboard Actions

Hi, I would like to create keyboard shortcut where I press cmd+5 and the result is the following series of keyboard actions: delete, delete, enter. Is this possible? Any advice would be appreciated.