No, it isn’t.
Switching the build type was always a new install. User data will not be kept. You can try to use the updater, it may do the install (I don’t know), but if so, it should force a factory reset upon first boot of the changed build type.
dev was simply renamed to community.
stable was simply renamed to official.
Details … Different Build Types
This difference should be gone since Android 12 (S) …