Yes, you can use Wire library. This is exactly what I've done after many unsuccessful trials in interfacing MAX30102 design board with Arduino Mega and Adafruit Feather boards. I've simply replaced all "i2c_" calls with Wire equivalents. Project + code are here: