Read Vin internally

Could a couple of resistors be used to divide Vin, by 4 for example, and read the divided value at an A/D pin?