You mean using the GPIO itself rather than a comparator?
There would be two problems.
1) Biassing a digital input to a voltage midway between the supplies will make it draw supply current. Could be as much as a mA or two.
2) The guaranteed logic thresholds are 1V and 2V; so at 1.5V it could read your input as a 1 and it could read it as a 0, depending where the threshold on your particular device is. It will function as a comparator, but you never know quite where the threshold will be, other than it will be SOMEWHERE between 1V and 2V.