Homematic migration

Is it possible to use Raspberrymatic in combination with HomeAssistant in parallel to my legacy SmartHome solution (FHEM) enabling me to migrate device by device?