I would not do that, there are many liquid level devices out there, anything from float / reed switches at multiple levels, a large singular float that changes resistance based upon position, ultrasonic level sensor ( least option as more for stationary containers ) etc