Can a website or an app refuse to give me access if I do not accept tracking cookies?
No. You must be given the option to refuse tracking cookies. Without this having adverse consequences for you.
That is why a website is not allowed to use a cookiewall. If a cookiewall is used, you will be denied access to a website or an app if you refuse the tracking cookies. This is not permitted.