Is it possible to add L1-regularization in Huggingface Trainer?

Yes, you can overwrite the Trainer:Finetuning BART using custom loss - #2 by lewtun