Phentermine is a prescription medication primarily used as an appetite suppressant for weight loss, and it is not intended to regulate or treat rest-activity rhythms or sleep-related issues. If you are experiencing problems with your sleep-wake cycles or circadian rhythms (such as insomnia or delayed sleep phase syndrome), it's crucial to consult with a healthcare provider for a proper diagnosis and treatment plan.