Using temp array on already fairly full UNO WiFi Rev2 [Closed]

Is there anything preventing using an array where you assign a specific integer value
for a specific data variable?

Example:

array[0] = analog input value A stored; triggered by digital input 1 [boiler lockout/enable]

array[1] = analog input value A stored; triggered by digital input 2 [aquastat call for heat]

array[2] = analog input value A stored; triggered by digital input 3 [boiler Run command]

array[3] = analog input value A stored; triggered by digital input 1 [boiler lockout/enable]

array[4] = analog input value A stored; triggered by digital input 2 [aquastat call for heat]

array[5] = analog input value A stored; triggered by digital input 3 [boiler Run command]

and so on....for 4 or 5 sets...

These values would be overwritten once all the "sets" are filled. The reason I ask is this would allow me to correlate specific array assignments to specific digital input actions.

Does this make sense? ..lol