Is the can an IC rated fixture? Would the things actually touch? WIll it run to the side or over the fixture? Sometimes, the fixtures have a label on them describing required clearances, or at least a manufacturer and model number which you could look up. It probably won't be an issue, but need more details. Jogging drainage pipes requires some considerations, such as cleanouts when the change in direction exceeds certain amounts. Best to be avoided.