Of course, you can. In fact, most cassettes for bikes are designed to fit in the standard HG hub. No matter if you are using 8, 9, 10, 11 and 12-speed cassettes in a compatible hub, it will fit fine.