You will need to cut the wire and solder in non-grove connectors. Or you could wire connectors directly onto the pads on the sensor. But yes, it can be done. These are I2C-based sensors, so you would need to google how to do an i2c connection.
And then you would need to download the DI Sensors drivers.