It depends. Based on the thickness of the filling you may be able to use cake filling as a frosting recipe. If you are looking to thicken a filling recipe, you can typically add a slurry of cornstarch and water to thicken up the filling and use as a 'drip icing'.