Ticket and ITSM Time Accounting are indipendent modules of OTRS, but it would be very useful to record the time for closing a ticket into ITSM Time Accounting by selecting a project. There are many request about that and some consultants already made an integration, but I think this should be an OTRS standard feature.
Regards.