Can I use the Withings under-mattress device if I share the bed?

Yes, just ensure that you sleep on the side of the bed directly above the monitor.