Yes. The attributes in the import mapping are not mandatory
Answering your comment “I'm actually making a published rest service where I need certain parameters to be passed to a microflow and whenever I try passing them as empty it throws me an error.”
I am assuming the microflow is expecting strings for these optional params, you can pass it as single quotes(‘’) without any values in between them.
Did you try this?