Yes, you can include custom variables in the subject line of a notification email.
Please refer to the screenshot for reference.