To make it safe and to meet the electrical codes of residential building, you should find a licensed electrician to install added pot lights. Special covers are needed if the pot lights are directly under attic. Your insurance company may refuse your claim if DIY electrical change would cause fire.
It's your decision in the end, but you need to know the risk.