Yes, using ECM you can create code templates as needed. You can access these in Panel -> Templates.