Yes, the data layer structure can be reused. If you have implemented it on Google Tag Manager you'll need to convert the GA Universal Tags to the GA4 Tags.