Customized line-types

Can custom line-types be added?  If yes, how is it done?