Is it ok to be on preventive vitamin supplements while being on the medication for the particular disease?

Usually. For most conditions it is okay to be on supplements. However, ther eare some conditions where they may interfere with the treatment so it is always best to consult with a practitioner who is knowledgeable about supplements.