Yes, you can do heavy coding on a gaming laptop. Gaming laptops have high-quality features that work well for heavy coding. The powerful CPU lets you run programs smoothly without lag.