Yes, there's no problem on migrating from Community to Professional. Community edition releases are based on Professional edition releases ( always in this direction ), that means there's a direct relation between a version in Professional edition with a version in Community edition what make easiest the migration process.
Also, we have export and import feature in all OpenKM versions what makes easy to move data between editions.