Custom Environment Variables - Auto-Increment

Is it possible to auto-increment a custom environment variable?