No. Although some funders may strongly encourage you to make your preprints available under a CC BY licence – and in certain circumstances, like a public health emergency, require it – researchers can make their preprints available under a licence of their choice.