Should be OK as long as you are 110 percent sure that the broil element wires cannot short to anything and that the tape can withstand the heat.
Note if youwant to bake in the oven then odds are it will ot work. During bake mots units switch back and forth between the bake and broil elements to give a more even temperature profile in the oven.
So baking results will be very very poor.