Adding material costs

Could it be possible to add material costs to the final sliced object? Cura has it, and is useful with some expensive filaments in large design…