Theoretically there should be no problem at all.
Unfortunately, we don't live in a theoretical world. If it was my bike Id do whatever was necessary from the inception to shim the cassette so that it perfectly matched the existing wheel set.
__________________
My greatest fear is all of my kids standing around my coffin and talking about "how sensible" dad was.