Yes, could be done under tax law as "Sachleistung" in Germany (material benefit). This is a good idea.