Front tires on rear without rubbing ?

Hello,

I’m looking at getting another wheel/tire for a spare, for when I’m out in the woods by myself,

will the front wheel/tire fit on the rear without rubbing something on the inside ?

I wasn’t sure if the offset was the same on rear wheels ?

2015 Trail 900

I was thinking of buying a 26X8 tire, and using it as a backup for the front or rear.