You can do it. In order to stay legal, you must make sure there are no more than 10 imported parts in the rifle -- in this context, 'parts' has a specific legal meaning per 922(r).
You can do it, you just need to pay attention.
Searching will reveal more pertinent info.