Fairly easy to do, especially with a recent version (ie 2.x) of freeradius

alan