Is there a way to make a shortcut for writer app like there is in ubuntu in macOS?

Is there a way to make an app leading directly to writer (like the ones in ubuntu) in macOS

Could you please be more descriptive? There seems to be a contradiction betwenn the title (requesting for a shortcut) and the “explanation” seemingly asking for a trick to launch Writer from another application.

I mean I want to have an application launching writer like the one on ubuntu but on macOS

Then it is a question to ask on a forum dedicated to the “application”. Usually this is implemented through some system call like exec() or fork().

Which one?

the application on ubuntu launching writer but on macOS

There are potentially thousands applications on a Ubuntu system, not all will launch Writer. Which one do you use that effectively results in activating Writer to display a file? Firefox? Thunderbird?
Do you mean double-clicking on a Writer document to open Writer and display it?

I mean double clicking an icon an opening a document selection screen or at least a new empty document

Then it is an OS matter. Normally when an application is installed through its installer (which excludes compiling ti from source), the installer takes care of configuring file association in the OS so that files with extension .odt, .dos., .odg, .odp and others will cause LibreOffice to be lanched (LO will then dispatch to the appropriate component Writer, Calc, Draw, Impress, …).
Not knowing what you have on your computer nor in which order you installed applications, I can’t help more. Another application may have taken over the LO extensions.