You'd have to backe the cupcake and then jam a pastry bag of filling in the top and inject it