can i do this

You can only work 7 consecutive shifts if they fit into a period of 144 hours from the start of the first shift to the end of the seventh shift.
As that’s not likely to be the case the answer to your question is generally no.