Adam,
I think the short answer is no. You will need to re-provision the device with a valid config.json with the correct device type.
The long answer is that it is possible to edit some values in the config.json file on a device, but it comes with a risk of losing contact with the device:
However device type isn’t one of the fields mentioned there as editabe.
Phil