Yes, certain psychiatric medications, such as stimulants or certain antidepressants, may have side effects that include insomnia. Consulting with a healthcare professional can help address any concerns or adjust medications if needed.