Hello Uwe,
Yes -- you can certainly do that. The message is only a warning, just to remind you that the MIDI keyboard as a whole (MIDI port/channel) is already assigned to something, in case you hadn't intended that. You can just select the option on the warning screen to keep both assigned.