Yes, cancer patients can get emotional support animals to help with a variety of symptoms. If you already have an animal, you can talk with your doctor to get them registered as an emotional support companion.
You can also consider adopting a trained service dog or having your dog undergo the training and certification process. Talk with your care team about what might be the best option for your needs during lung cancer treatment and recovery.