CapacitorJS 2024: is there a way to add widgets for apps?

is there a way to add widgets for apps, in a cross-platform manner? Or at least for just ios/ just android?

What would be the procedure here? Could I hardcode some native code in the native project version which asks at a specific time to add a widget?

Or do i need to build a plugin to achieve this?

Maybe someone can tell me how hard writing a plugin is, or even just the native code. I am wondering