You can, but you shouldn’t expect too much. Stock coolers are often rather cheaply manufactured add-ons to a CPU purchase that’ll let you run the CPU just fine in a well-ventilated case but will reach its limits quickly if you do anything out of the ordinary with it.