Project module cost center

hello every one
I am new to the erpnext family

i am coming from construction background

my question about project module
can task be a cost center and have sub cost center eg material , labor etc following the cost needed to complete single task?

for labor is there a measurement by quantities for budgeting and quantities completed rather than time ?

thanks for advice and help