Not entirely sure how much of a bitch its going to be. Since you say "Throw" you must use a entity to make it move and sink, and you can't make entities to be moving lights. However theres the touch the ground condition... If there is a method to make a entity become a block when it touches another block it may be not so evil to do...
hey, guess what, there already is an entity that becomes a block... falling sand.