Is it possible to create a Custom widget?

Is it possible to create a Custom widget ?
For example, a widget for the bank account number rib « 007 450 0000985000004048 45 »

And show the value in the progress bar.

Thank you.