Flashing a Nano 4G with a Board of a 2G

Would it be possible that I flash a Jetson Nano 4GB with a Dev Kit Board of a Jetson Nano 2GB?
That I can use one Board for Flashing and one fixed on a car.

It should work.
(I am assuming both are b01 revision; very few people have an a02 revision carrier board)