Is there a way to make a restriction in file attachment type of field, to allow only csv files but in model driven application?

Is there a way to make a restriction in file attachment type of field, to allow only csv files but in model driven application?
You can control which types of files aren't allowed to be saved in file columns based on the file extension and mime type https://learn.microsoft.com/en-us/power-apps/developer/data-platform/file-attributes?tabs=sdk#blocked-file-types