Is it valid to use role = “listbox” to input element?

I am creating a custom control for multiselect such that I am using input element wrapped with a container to type the value and ul and li elements to show suggestions. In order to flexible with assistive standards, I am using the role of input element as listbox. The problem is that chrome accessibility lighthouse tool test cases getting failed. I went through some of the blogs and documentations about the role but I could not find any related things. So my question is am I allowed to use role as textbox for this or to ignore the failed case?

enter image description here

I gone through the below resources

Suggest where I am going wrong.

Go to Source
Author: Jeyanth