I'm not 100% certain, but I think it would work the way you described; as long as both devices aren't trying to use the same Bluetooth channel at the same time (i.e. both aren't trying to play audio simultaneously, etc.). When a had an Android tablet years ago I connected a Bluetooth speaker and keyboard at the same time and they both worked fine.