Can I modify the returns
statement to include a bool [] memory
instead of just bool
?
You cannot.
The Chainlink node is looking for a specific return type, if you change the interface the nodes won't be sure that's the function they should be calling.
That being said, you can change what checkupkeep returns, just a chainlink keeper node wouldn't be able to call checkupkeeps.