Yes, you can make pesto.
This is simpler.
1. Pick the basil.
2. Wash the basil.
3. Dry the basil. (It doesn’t have to be perfectly dry.) We gave it a spin or two in the salad spinner and called it good.
4. Stuff it in a freezer bag. We used snack-sized bags, as they hold about as much as The Magician will need for one batch of pasta or rice or whatever dish he wants to add basil to.