No, you cannot replace (or use) an 18650 battery in place of an AA battery. The differences in their capacities and nominal voltages make it challenging to replace them, even if you connect AA batteries in series to increase their voltage.