2001 Nissan Maxima SE 6 Cyl 3.0L
When stepping on the gas, the battery light goes on then goes !!
Can it be the belt?
Most likely the culprit is the drive belt slipping on the alternator pulley. Check these items as first steps; drive belt for wear / stretched, the drive belt tensioner for wear, or the drive belt idle pulley (if equipped) for excess wear.