Yes, but you will have to take some extra steps to ensure all the gain/loss information is accurately reported.
The following posts provides extensive instructions on what steps you need to take. Both of these posts explain what to do but in slightly different ways. The 2nd post provides more detail, so you might want to try that one first.
https://ttlc.intuit.com/replies/5261530
https://ttlc.intuit.com/replies/6281161